/* Developed by Ertan Tike (ertan.tike@moreum.com) */

using System;
using System.Collections.Generic;
using System.Text;
using CoursePack;

namespace ScheduleGrid
{
    public delegate void NewAppointmentEventHandler(object sender, NewAppointmentEventArgs args);

    public class NewAppointmentEventArgs : EventArgs
    {
        #region Data
        protected DateTime m_StartDate;
        protected string m_Title;
        protected DateTime m_EndDate;
        #endregion

        public NewAppointmentEventArgs(string title, DateTime start, DateTime end )
        {
            m_Title = title;
            m_StartDate = start;
            m_EndDate = end;
            
        }

        #region Accessors
        public string Title
        {
            get { return m_Title; }
        }

        public DateTime StartDate
        {
            get { return m_StartDate; }
        }

        public DateTime EndDate
        {
            get { return m_EndDate; }
        }

        #endregion
    }
}
